from flask import Flask
from flask_sqlalchemy import SQLAlchemy

app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+pymysql://root:shiyunlai123@localhost:3306/flask'
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False  # 禁用信号，优化性能
db = SQLAlchemy()



